package com.dbz.service.Impl;

import com.dbz.dao.UserRolesDao;
import com.dbz.entity.UserRoles;
import com.dbz.service.UserRolesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserRolesServiceImpl implements UserRolesService {
    @Resource
    private UserRolesDao userRolesDao;
    @Override
    public int isUserAddJueSe(UserRoles userRoles) {
        userRolesDao.insert(userRoles);
        return 1;
    }
}
